<!DOCTYPE html>
<html style="height: 100%;background-color: white;">

	<head>
		<meta charset="utf-8">
		<title>我的优惠券</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" type="text/css" href="css/icons-extra.css"/>
		<link rel="stylesheet" type="text/css" href="css/style.css"/>
		<!--标准mui.css-->
		<link rel="stylesheet" href="css/mui.css">
	</head>
	<body>
		<header class="mui-bar mui-bar-nav tes">
			<a href="choice-menus.html" class=" mui-icon  mui-pull-left title-left">
		        	<img src="img/点菜.png"/ width="60px" height="32px" style="margin-top: 6px;">
			</a>
			<h1 class="mui-title">我的现金券</h1>
			<a href="person-center.html" class="mui-icon  mui-pull-right title-right" id="btn1">
				<img src="img/个人中心.png"/ width="60px" height="32px" style="margin-top: 6px;">
			</a>
		</header>
		<div class="mui-content">
			<div >
				<div id="segmentedControl" class="mui-segmented-control">
					<a class="mui-control-item mui-active" href="#item1">
				我的现金券（2）
			</a>
					<a class="mui-control-item" href="#item2">
				未领取
			</a>
				</div>
			</div>
			<div>
				<div id="item1" class="mui-control-content  mui-active bgc-white">
					<div id="scroll" class="mui-scroll-wrapper" style="background-color: white;">
						<div class="mui-scroll my-discount">
							<ul>
								<li> 
									<div class="my-discount-top">
										<div class="my-discount-money" >
											<p>
												<span>10</span>元
											</p>
										</div>
										<div class="my-discount-name">
											<p>满100元使用</p>
											<span>现金券</span>
										</div>
									</div>
									<button>立即使用</button>
									<p>有效期：2017.9.9-2017.10.10</p>
								</li>
								<li> 
									<div class="my-discount-top">
										<div class="my-discount-money" >
											<p>
												<span>10</span>元
											</p>
										</div>
										<div class="my-discount-name">
											<p>满100元使用</p>
											<span>现金券</span>
										</div>
									</div>
									<button>立即使用</button>
									<p>有效期：2017.9.9-2017.10.10</p>
								</li>
								
							</ul>
						</div>
					</div>
				</div>
				<div id="item2" class="mui-control-content myorder-list">
					<div id="scroll1" class="mui-scroll-wrapper">
						<div class="mui-scroll myorder-discount">
							<ul>
								<li class="mui-card"> 
									<img src="img/logo1.jpg" />
									<div>
										<p>新用户现金券-5元</p>
										<span>有效期：2017-06-12至2018-06-12</span>
									</div>
									<button>领取</button>
								</li>
								<li class="mui-card"> 
									<img src="img/logo1.jpg" />
									<div>
										<p>新用户现金券-5元</p>
										<span>有效期：2017-06-12至2018-06-12</span>
									</div>
									<button>领取</button>
								</li>
								
							</ul>
						</div>
					</div>
				</div>
				
			</div>
			
		</div>
		<script src="js/mui.min.js"></script>
		<script>
			
			(function($) {
				$('#scroll').scroll({
					indicators: false //是否显示滚动条
				});
				$('#scroll1').scroll({
					indicators: false //是否显示滚动条
				});
			})(mui);
			var myorderheight = document.documentElement.clientHeight || document.body.clientHeight;
			var my = document.getElementsByClassName('mui-control-content');
			for(var i=0;i<my.length;i++)
			{
				my[i].style.height = myorderheight-120+'px'; 
			}
			
		</script>

	</body>

</html>